/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package generic3A;

/**
 *
 * @author Liem
 */
public class KotakTest {
    public static void main (String []args) {
       Kotak<Integer> gene1 = new Kotak<Integer>();
       
       gene1.setIsi(123);
       System.out.println("Isi : " + gene1.getIsi());
       
       Kotak<Double> gene2 = new Kotak<Double>();
       
       gene2.setIsi(123.123);
       System.out.println("Isi : " + gene2.getIsi());
    }
}
